<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="hidden" value="{$row.id}" name="row[project_id]">
            <input type="text" class="form-control" value="{$row.project_name}" name="row[project_name]" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span class="text-red">*</span>项目阶段:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[project_stage_id]',$Think.config.app.project_status,$row.project_stage_id,['id'=>"project_stage_id",'class'=>'form-control','data-rule'=>'required'])}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span class="text-red">*</span>时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input name="row[project_stage_time]" class="form-control" type="text" value="{:$row.project_stage_time?datetime($row.project_stage_time):''}">
        </div>
    </div>
    {if $row.project_stage_id eq 6}
    <div class="form-group register_capital" >
        <label class="control-label col-xs-12 col-sm-2">注册资本:</label>
        <div class="col-xs-12 col-sm-8">
           <input name="row[register_capital]" class="form-control" type="text" value="{$row.register_capital}" readonly>
        </div>
    </div>
    <div class="form-group register_name" >
        <label class="control-label col-xs-12 col-sm-2">注册名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input name="row[register_name]" class="form-control" type="text" value="{$row.register_name}" readonly>
        </div>
    </div>

    {/if}

    {if $row.project_stage_id==9 or $row.project_stage_id ==10}
    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2">原因:</label>
        <div class="col-xs-12 col-sm-8">
           <input name="row[reason]" class="form-control" type="text" value="{$row.reason}" readonly>
        </div>
    </div>

    {/if}


</form>
